package bungaeting.net.client.android.activity;

import android.content.Context;
import android.content.Intent;
import android.location.LocationManager;
import android.os.Bundle;
import android.view.View;
import bungaeting.net.client.android.R;

import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;

public class googleMap extends MapActivity {
	private static final String KEY_PREF = "group";
	private MapController MapCon;
	
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.map);
        
        MapView myMap = (MapView)findViewById(R.id.myMapView);
        MapCon = myMap.getController();
        
        myMap.setSatellite(true);
        myMap.setStreetView(true);
        
        MapCon.setZoom(17);
        LocationManager locationM = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
    }
	
	@Override
	protected boolean isRouteDisplayed() {
		// TODO Auto-generated method stub	
		return false;
	}
	
	public void groupClick(View v) {
        Intent map = new Intent(this, group.class);
        startActivity(map);
    }
    
    public void mapClick(View v) {
        Intent map = new Intent(this, googleMap.class);
        startActivity(map);
    }
}